﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms; using Montana.Entidades;
using System.Reflection;

namespace Montana
{
    public static class Sistema
    {
        public static string Nombre
        {
            get { return "Sistema de Facturación"; }
        }

        public static string Version
        {
            get 
            {
                Assembly a = Assembly.GetExecutingAssembly();
                Version v = a.GetName().Version;

                return "Versión " + v.Major + "." + v.Minor; 
            }
        }

        public static string NombreVesion
        {
            get { return Nombre + " - " + Version; }
        }
    }
}
